using System;
using DevExpress.Xpo;

namespace Objects
{

    public class SinhVien : Nguoi
    {
        public SinhVien()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public SinhVien(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        private string _maSinhVien;

        public string MaSinhVien
        {
            get { return _maSinhVien; }
            set { SetPropertyValue("MaSinhVien", ref _maSinhVien, value); }
        }
        private NganhHoc _nganhHoc;

        public NganhHoc NganhHoc
        {
            get { return _nganhHoc; }
            set {SetPropertyValue("NganhHoc", ref _nganhHoc, value); }
        }
        private int _khoaHoc;

        public int KhoaHoc
        {
            get { return _khoaHoc; }
            set {SetPropertyValue("KhoaHoc", ref _khoaHoc, value); }
        }

    }

}